#include "QbTFBondKLine.h"
#include <QStylePainter>

QbTFBondKLine::QbTFBondKLine(QWidget* parent)
    : QWidget(parent)
{
	setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
}

void QbTFBondKLine::paintEvent(QPaintEvent* event)
{
    QStylePainter painter(this);
    painter.fillRect(rect(), Qt::red);
}
